package com.coco.bargain.service;

import com.coco.bargain.pojo.TbBargainItem;
import com.coco.bargain.vo.BargainItemTableSearchVo;
import com.coco.bargain.vo.BargainUserVo;
import com.coco.common.result.ResultData;

import java.util.List;

/**
 * @author HanSama
 * @date 2021年07月22日 19:21
 */
public interface BargainItemService {
    ResultData seach(BargainItemTableSearchVo bargainItemTableSearchVo);

    void add(TbBargainItem tbBargainItem);

    void update(TbBargainItem tbBargainItem);

    TbBargainItem findById(Long id);

    void deleteById(Long id);

    List<BargainUserVo> seeDetails(Long id);
}
